package es.ats.codington.festival.domain;

/**
 * The Class People.
 *
 * @author 5Cs
 */
public abstract class People {

    /* Properties */
    /** The name. */
    private String name;
	
	/** The last name. */
	private String lastName;
	
	/** The age. */
	private int age;
	
	/** The address. */
	private String address;
	
	/** The phone number. */
	private String phoneNumber;
	
	/* Default Constructor */
    /**
	 * Instantiates a new people.
	 */
	public People() {
    	this.name=null;
		this.lastName=null;
		this.age=0;
		this.address=null;
		this.phoneNumber=null;
	}
    
    /* Constructor */
	/**
     * Instantiates a new people.
     *
     * @param name the name
     * @param lastName the last name
     * @param age the age
     * @param address the address
     * @param phoneNumber the phone number
     */
    public People(String name, String lastName, int age, 
			String address, String phoneNumber) {
		this.name=name;
		this.lastName=lastName;
		this.age=age;
		this.address=address;
		this.phoneNumber=phoneNumber;
	}

	/* Getters */
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Gets the last name.
	 *
	 * @return the id
	 */
	public String getLastName() {
		return lastName;
	}
	
	/**.
	 * @return the age
	 */
	public int getAge() {
		return age;
	}
	
	/**
	 * Gets the address.
	 *
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	
	/**
	 * Gets the phone number.
	 *
	 * @return the address
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}

	

    /* Setters */
	/**
     * Sets the name.
     *
     * @param name the name to set
     */
	public void setName(String name) {
		this.name = name;
	}
		
	/**
	 * Sets the last name.
	 *
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
		
	/**
	 * Sets the age.
	 *
	 * @param age the age to set
	 */
	public void setAge(int age) {
		this.age = age;
	}
		
	/**
	 * Sets the address.
	 *
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	
	/**
	 * Sets the phone number.
	 *
	 * @param phoneNumber the new phone number
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
}
